<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:s="http://jboss.com/products/seam/taglib"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j">
      
    <head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Rock+Salt|Josefin+Sans"/>
		<link href="stylesheet/template.css" rel="stylesheet" type="text/css"/>
		<link href="stylesheet/login.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
		<h:form>
			<div class="login">
				<h1>Login</h1>
				<div class="data">
	               	<h:outputText value="Username" styleClass="labelStyle" />
	               	<h:inputText id="username" value="#{credentials.username}"/><br/>
	               	<h:outputText value="Password" styleClass="labelStyle" />
	               	<h:inputSecret id="password" value="#{credentials.password}"/><br/>
	               	<h:outputText value="Remember me"/>
	               	<h:selectBooleanCheckbox id="rememberMe" value="#{rememberMe.enabled}"/><br/>
	               	<h:commandButton id="submit" value="Login" action="#{identity.login}"/>
	        	</div>
	        </div>
        </h:form>
    </body>

</html>